define(['extensions/nodelist'], function () {

    document.querySelector('#login-anonymous').onclick = function () {
        document.querySelectorAll('form > input').every(function (e) { return e.value = ''; });
        document.querySelector('form').submit();
    };
    document.querySelector('#login-user').onclick = function () {
        document.querySelector('#login-panel').classList.add('fadeIn');
    };

    console.log('app/login.js');

});